package com.hw.one.collect.movingsource.slagcar.constans;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Administrator on 2017/8/3.
 *
 * 城管局-渣土车 工具类
 */
public class SlagCarConstants {

    public static Map<String, String[]> regionIdWithOtherCode = new HashMap<>();


    public static final String HOST = "27.50.131.39";//主机
    public static final int PORT=8686;//端口
    // 实时数据wsdl
    public static final String SlagCar_URI = "http://"+HOST+":"+PORT+"/muckmonitor/services/VehicleInfoService?wsdl";
    // 实时数据方法名
    public static final String getVehicleInfo = "getVehicleInfo";
    public static final String getSpeedAlarm = "getSpeedAlarm";




    /**
     * 初始化接口需要的值
     */
    public static void getRegionIdWithName() {
        // key值 是对方接口的参数，value是自己数据库对应的行政区划编码

        // 河南省和郑州市不调用
//        regionIdWithOtherCode.put("410000", new String[]{"河南省","410000000"});
//        regionIdWithOtherCode.put("410100", new String[]{"郑州市", "410100000"});
        regionIdWithOtherCode.put("410101", new String[]{"市辖区", "410101000"});
        regionIdWithOtherCode.put("410102", new String[]{"中原区", "410102000"});
        regionIdWithOtherCode.put("410103", new String[]{"二七区", "410103000"});
        regionIdWithOtherCode.put("410104", new String[]{"管城回族区", "410104000"});
        regionIdWithOtherCode.put("410105", new String[]{"金水区", "410105000"});
        regionIdWithOtherCode.put("410106", new String[]{"上街区", "410106000"});
        regionIdWithOtherCode.put("410108", new String[]{"惠济区", "410108000"});
        regionIdWithOtherCode.put("410122", new String[]{"中牟县", "410122000"});
        regionIdWithOtherCode.put("410181", new String[]{"巩义市", "410181000"});
        regionIdWithOtherCode.put("410182", new String[]{"荥阳市", "410182000"});
        regionIdWithOtherCode.put("410183", new String[]{"新密市", "410183000"});
        regionIdWithOtherCode.put("410184", new String[]{"新郑市", "410183000"});
        regionIdWithOtherCode.put("410185", new String[]{"登封市", "410185000"});
    }

}
